Israel Ors' HuffmanAlgorithm Documentation

HuffmanAlgorithm.ShrinkWithProgress Method (Stream, Char[])

Build a frequency table and Huffman tree and shrinking the stream data. This function version, calls the PercentComplete event handler When anothe 1 percent compleated.

public Stream ShrinkWithProgress(
   Stream Data,
   char[] Password
);

Parameters

Data
The data streem to shrink, shrinking starts from the position of the given stream as it was given and in the end of the function it's position won't be at the end of the stream and it won't be closed.
Password
A password to add to the archive, to mark as "password less" assign null instead.

Return Value

The archived stream, positioned at start.

Remarks

The given stream must be readable, seekable and it's length must exceed zero.

See Also

HuffmanAlgorithm Class | JadBenAutho.Tools Namespace | HuffmanAlgorithm.ShrinkWithProgress Overload List